export default {
  // Elment Plus 主题色
  elementPlusColor: {
    primary: "#5947f1",
    success: "#00b061",
    warning: "#FB8601",
    danger: "#F33D3D",
    error: "#F33D3D",
  },

  // Elment Plus 主题色辅助色
  elementPlusColorAuxiliary: {
    primary: {
      light: {
        3: 0.2,
        5: 0.5,
        7: 0.7,
        8: 0.85,
        9: 0.92,
      },
      dark: {
        3: -0.2,
        5: -0.5,
        7: -0.7,
        8: -0.85,
        9: -0.92,
      },
    },
    success: {
      light: {
        3: 0.3,
        5: 0.5,
        7: 0.7,
        8: 0.8,
        9: 0.9,
      },
      dark: {
        3: -0.3,
        5: -0.5,
        7: -0.7,
        8: -0.8,
        9: -0.9,
      },
    },
    warning: {
      light: {
        3: 0.3,
        5: 0.5,
        7: 0.7,
        8: 0.8,
        9: 0.9,
      },
      dark: {
        3: -0.3,
        5: -0.5,
        7: -0.7,
        8: -0.8,
        9: -0.9,
      },
    },
    danger: {
      light: {
        3: 0.3,
        5: 0.5,
        7: 0.7,
        8: 0.8,
        9: 0.9,
      },
      dark: {
        3: -0.3,
        5: -0.5,
        7: -0.7,
        8: -0.8,
        9: -0.9,
      },
    },
    error: {
      light: {
        3: 0.3,
        5: 0.5,
        7: 0.7,
        8: 0.8,
        9: 0.9,
      },
      dark: {
        3: -0.3,
        5: -0.5,
        7: -0.7,
        8: -0.8,
        9: -0.9,
      },
    },
  },

  // Element Plus 菜单主色 （暂时不做控制）
  elementPlusMenuColor: {
    bgColor: "#ffffff",
    textColor: "#606266",
    activeColor: "#409eff",
    hoverTextColor: "#409eff",
    hoverBgColor: "#f5f5f5",
  },

  // Element Plus 字体颜色
  elementPlusFontColor: {
    primary: {
      light: -0.7,
      dark: 0.92,
    },
    regular: {
      light: 0.2,
      dark: -0.1,
    },
    secondary: {
      light: 0.4,
      dark: -0.25,
    },
    placeholder: {
      light: 0.6,
      dark: -0.4,
    },
    disabled: {
      light: 0.7,
      dark: -0.55,
    },
  },

  // Element Plus border 颜色
  elementPlusBorderColor: {
    // 加黑
    dark: {
      color: -0.7,
      darker: -0.51,
      dark: -0.26,
      lighter: 0.49,
      light: 0.25,
      "extra-light": 0.73,
    },
    // 加白
    light: {
      color: 0.9,
      darker: -0.51,
      dark: -0.26,
      lighter: 0.49,
      light: 0.25,
      "extra-light": 0.73,
    },
  },

  // Element Plus 填充色（正数-加白 负数-加黑）
  elementPlusFillColor: {
    dark: {
      darker: -0.25,
      dark: -0.15,
      fill: -0.8,
      light: 0.15,
      lighter: 0.3,
      "extra-light": 0.4,
      blank: -1,
    },
    light: {
      darker: -0.15,
      dark: -0.08,
      fill: 0.95,
      light: 0.1,
      lighter: 0.2,
      "extra-light": 0.3,
      blank: 1,
    },
  },
};
